package lec03.am;

class A {
	@Override
	public String toString() {
		return "A";
	}
}

class B extends java.lang.Object {
	B() {

	}

	B(int x) {

	}
}

public class ConstructorDemo {

	public static void main(String[] args) {
		A a = new A();
		B b = new B();
		System.out.println(a.toString());
	}
}
